package com.yuyou.train.lesson.service;

import java.util.List;

import com.yuyou.train.service.api.lesson.dto.LessonSubjectRelationDTO;
import com.yuyou.train.service.api.lesson.entity.LessonSubjectRelation;
import com.yuyou.train.util.bean.ResBoolSimpleInfo;

public interface ILessonSubjectRelationService {
    int deleteByPrimaryKey(String id);

    int insert(LessonSubjectRelation record);

    LessonSubjectRelation selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(LessonSubjectRelation record);
    
    int deleteByLessonId(String lessonId);
    
    List<LessonSubjectRelationDTO> findBylessonId(String lessonId);
    
    ResBoolSimpleInfo<String> updateLesSubRel(String lessonId,List<String> subjectIds); 
    
    
    
}